<#include "../util/TypeInfo.ftl">
package ${actionPackage};
import ${actionPackage}.util.GenericEntityHome;
import org.jboss.seam.annotations.Begin;
import org.jboss.seam.annotations.In;
<#assign classbody>
<#assign entityName = pojo.shortName>
<#assign componentName = entityName?uncap_first>
<#assign pageName = entityName?uncap_first>
<#assign homeName = componentName + "Home">

@${pojo.importType("org.jboss.seam.annotations.Name")}("${homeName}")
public class ${entityName}Home extends GenericEntityHome <${entityName}> {
	
	@In(required=false)	 ${entityName}List ${pageName}List;

	@Override @Begin
    public void create() {
		setEntityList(${pageName}List);
        super.create();
    }
	
}
</#assign>

<#if pojo.packageName != "">
import ${pojo.packageName}.${entityName};<#-- This import is necessary because we're using a different package than Hibernate Tools expects -->
</#if>
${pojo.generateImports()}
${classbody}
